package com.citycloud.ccuap.tc.admin.defaultrole;


import com.citycloud.ccuap.framework.service.mybatis.MybatisServiceImpl;
import com.citycloud.ccuap.tc.admin.repository.DefaultRoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 默认角色
 * @author huk
 *
 */
@Service
public class DefaultRoleService extends MybatisServiceImpl<DefaultRoleRepository, DefaultRole, Long> implements IDefaultRoleService {

    @Autowired
    private DefaultRoleRepository  defaultRoleRepository;


    @Override
    public List<DefaultRole> getAll() {

        return defaultRoleRepository.findAll();
    }
}